<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class ErrorCode\ErrorCode | XY Server API alpha</title>

	<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
				<li>
					<a href="namespace-Behavior.html">
						Behavior					</a>

						</li>
				<li>
					<a href="namespace-DatebaseSQL.html">
						DatebaseSQL					</a>

						</li>
				<li>
					<a href="namespace-Doc.html">
						Doc					</a>

						</li>
				<li class="active">
					<a href="namespace-ErrorCode.html">
						ErrorCode					</a>

						</li>
				<li>
					<a href="namespace-Home.html">
						Home<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-Home.Controller.html">
						Controller					</a>

						</li>
				<li>
					<a href="namespace-Home.Model.html">
						Model					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-None.html">
						None					</a>

						</li>
				<li>
					<a href="namespace-Think.html">
						Think					</a>

						</li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li class="active"><a href="class-ErrorCode.ErrorCode.html">ErrorCode</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-ErrorCode.html" title="Summary of ErrorCode"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
				<li>
					<a href="annotation-group-api.html" title="List of elements with api annotation">
						<span>Api</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-version.html" title="List of elements with version annotation">
						<span>Version</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-since.html" title="List of elements with since annotation">
						<span>Since</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-deprecated.html" title="List of elements with deprecated annotation">
						<span>Deprecated</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-todo.html" title="List of elements with todo annotation">
						<span>Todo</span>
					</a>
				</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class ErrorCode</h1>


	<div class="description">
	<p>全局错误代码一览.</p>

<h1>约定</h1>

<ul>
<li>&lt;=0是错误</li>
<li>>0是正确</li>
</ul>

<h2>公用错误：    X 000--X 999</h2>

<ul>
<li>@throws '-     1' 访问空操作</li>
<li>@throws '-   300' 没有对应的权限</li>
<li>@throws '-   400' 未知错误（XYException中错误代码不是数字）</li>
<li>@throws '-   401' 未被捕获的异常</li>
<li>@throws '-   402' 未被捕获的致命问题</li>
<li>@throws '-   404' 访问的操作/控制器不存在</li>
<li>@throws '-   405' 版本号不存在</li>
<li>@throws '- X 000' 数据库错误</li>
<li>@throws '- X 997' 修改操作没有修改任何字段而导致</li>
<li>@throws '- X 998' history字段溢出</li>
<li>@throws '- X 999' 写"操作历史记录"失败</li>
</ul>

<h1>全部错误代码表，请看源代码：</h1>

<ul>
<li><a href="./source-class-ErrorCode.ErrorCode.html">点这里查看</a></li>
</ul>
	</div>









	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-ErrorCode.html">ErrorCode</a><br>
		

				<b>Api</b>
				<br>
			<b>Located at</b> <a href="source-class-ErrorCode.ErrorCode.html#5-722" title="Go to source code">Home/Conf/error_code.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="getErrorCodeMsg" id="_getErrorCodeMsg">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getErrorCodeMsg">#</a>
		<code><a href="source-class-ErrorCode.ErrorCode.html#37-40" title="Go to source code">getErrorCodeMsg</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	</table>


















</div>

	<div id="footer">
		XY Server API alpha API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
